//
//  YBLog.h
//  YBCoreSDK
//
//  Created by yiban on 16/1/25.
//  Copyright © 2016年 liuchengbin. All rights reserved.
//

#import <Foundation/Foundation.h>


#define YBLogger(...) \
    [YBLog yblogInfo:__func__ line:__LINE__ msg:__VA_ARGS__]
#define DLogError(...) \
    [YBLog yblogError:__func__ line:__LINE__ msg:__VA_ARGS__]

@interface YBLog : NSObject
@property(nonatomic,assign)BOOL isDebug;
//log级别为info
+ (void)yblogInfo:(const char *)func line:(int)line msg:(NSString *)fmt,...;
//log级别为error
+ (void)yblogError:(const char *)func line:(int)line msg:(NSString *)fmt,...;

@end
